t=`date +%s`
echo $t
find ./view -type f -name '*.css' | xargs cat > www_packed_$t.css
sed -i "s/www_packed_.*\.css/www_packed_$t.css/g" './conf/static.conf'
mv www_packed_$t.css /usr/local/nginx/html/static-doubanxia/enabled/webroot/css/
find ./view -type f -name '*.js' | xargs cat > www_packed_$t.js
sed -i "s/www_packed_.*\.js/www_packed_$t.js/g" './conf/static.conf'
mv www_packed_$t.js /usr/local/nginx/html/static-doubanxia/enabled/webroot/js/
